package com.ybf.api.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class index {
    @GetMapping("/")
    @ResponseBody
    public String index () {
        return "home page";
    }
    @GetMapping("/app")
    @ResponseBody
    public String app () {
        return "app page";
    }
}
